const { resolve } = require("path");
const HtmlWebpackPlugin = require("html-webpack-plugin");
const { mode } = require("../../09生产环境配置/webpack.config");


module.exports = {
    entry: {
        index: ['./src/index.js','./src/count.js'],
        add: './src/add.js'
    },
    output: {
        filename: '[name].js',
        path: resolve(__dirname,'build')
    },
    plugins: [
        new HtmlWebpackPlugin()
    ],

    mode: 'development'



}